#include "Heap.h"

int main()
{
	int a[] = { 4, 5, 3, 2, 0, 6 };
	HP hp;
	HPInit(&hp);
	for (int i = 0; i < sizeof(a)/sizeof(a[0]); i++)
	{
		HPPush(&hp, a[i]);
	}

	int k = 3;
	while (k--)
	{
		printf("%d\n", HPTop(&hp));
		HPPop(&hp);
	}
	HPDeastroy(&hp);
	return 0;
}